<script setup></script>

<template>
  <nav>
    <router-link to="/index">首页</router-link>
    <router-link to="/my">我的</router-link>
    <router-link to="/friend">朋友</router-link>
    <router-link to="/my/test">测试</router-link>
  </nav>
  <router-view />
</template>

<style scoped>
  nav a {
    text-decoration: none;
  }

  nav a:nth-child(2) {
    margin: 0 80px;
  }
</style>
